package com.gsafety.wellsfort.dao.knowledge;

import com.gsafety.wellsfort.domain.dto.course.MyExamDTO;
import com.gsafety.wellsfort.domain.model.knowledge.ExamPaper;
import com.gsafety.wellsfort.domain.model.knowledge.Work;
import com.gsafety.wellsfort.domain.vo.MyExamListVO;

import java.util.List;
import java.util.Map;

public interface ExamPaperDAO {
    int deleteByPrimaryKey(Integer id);

    int insert(ExamPaper record);

    int insertSelective(ExamPaper record);

    ExamPaper selectByPrimaryKey(Integer id);

    ExamPaper selectAnYiNengExamPaper();

    List<ExamPaper> selectByParam(Map param);

    List<MyExamListVO> myExamList(MyExamDTO dtoParams);

    int updateByPrimaryKeySelective(ExamPaper record);

    int updateByPrimaryKey(ExamPaper record);

    Integer finishExamCount();
}